package cn.wolfcode.shop.cloud.web.msg;

import cn.wolfcode.shop.cloud.common.CodeMsg;

/**
 * Created by wolfcode-lanxw
 */
public class SeckillServerCodeMsg extends CodeMsg {
    private SeckillServerCodeMsg(Integer code, String msg){
        super(code,msg);
    }
    public static final SeckillServerCodeMsg DEFALUT_ERROR = new SeckillServerCodeMsg(500400,"秒杀服务繁忙");
    public static final SeckillServerCodeMsg ARGS_ERROR = new SeckillServerCodeMsg(500403,"参数校验失败");
    public static final SeckillServerCodeMsg NOT_AUTH_ERROR = new SeckillServerCodeMsg(500404,"请登录后再进行秒杀");
    public static final SeckillServerCodeMsg NOT_START_ERROR = new SeckillServerCodeMsg(500405,"活动尚未开始");
    public static final SeckillServerCodeMsg SECKILL_OVER_ERROR = new SeckillServerCodeMsg(500406,"活动已经结束");
    public static final SeckillServerCodeMsg REPEATER_ORDER_ERROR = new SeckillServerCodeMsg(500407,"请不要重复下单");
    public static final SeckillServerCodeMsg OUT_OF_STOCK_ERROR = new SeckillServerCodeMsg(500408,"库存不足");
    public static final SeckillServerCodeMsg OP_ERROR = new SeckillServerCodeMsg(500409,"非法操作");
    public static final SeckillServerCodeMsg VERIFY_CODE_ERROR = new SeckillServerCodeMsg(500410,"验证码输入有误");

}
